package com.css.common.core.exception;

import lombok.Getter;

/**
 * @description: 通知失败异常
 * @Title: NotifyFailException
 * @Author xlw
 * @Package com.invoice.tcc.exception
 * @Date 2024/10/22 19:33
 */
@Getter
public class NotifyFailException extends RuntimeException {

    private String invoiceUUID;

    private int fpType;

    public NotifyFailException(String invoiceUUID, int fpType, String message) {
        super(message);
        this.invoiceUUID = invoiceUUID;
        this.fpType = fpType;
    }

    public NotifyFailException(String message) {
        super(message);
    }
}
